﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using EasyBuy.Model;
using EasyBuy.DAL;
using EasyBuy.IDAL;
using EasyBuy.IFactory;

namespace EasyBuy.BLL
{
    /// <summary>
    /// 
    /// By:tianyuliang
    /// 2012-7-15
    /// </summary>
    public class UserManager
    {
      //  IUserService userService ;  // = IDALFactory. ;
        UserService userService = new UserService();
        public User Login(String UName, String UPassword) 
        {
            return userService.GetUserByNameOrPass(UName,UPassword);
           //return userService.GetUserByNameOrPass(UName,UPassword);
           // return null;
        }
    }
}
